package com.craterhill.java.ccp.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.craterhill.java.ccp.common.beans.College;
import com.craterhill.java.ccp.dao.CollegesDao;
import com.craterhill.java.ccp.service.CollegesService;

@Service
public class CollegesServiceImpl implements CollegesService {

	@Autowired
	private CollegesDao collegesDao;

	public List<College> getColleges() {
		return collegesDao.findAll();
		}
	@Override
	public College getCollege() {

		return null;
	}
}
